<div class="div_form" >
    <h1>Configuration details:</h1>
    <p><b>ID: </b><?=$row['idconfigurations']?></p>
    <p><b>Name: </b><?=$row['configname']?></p>
    <p><b>Description: </b><?=$row['description']?></p>
    <p><b>Configuration type: </b><?=$sl=(($row['iddevice']=='0')?'General CI':'Device CI')?></p>
    <p><b>Belong to: </b><?=$row['namecustomer']?></p>
    <p><b>Details: </b></p>
    <div  class="view_detail"><?=$row['configdetail']?></div>

    <p><b>Create time: </b><?=date_format(date_create($row['starttime']),'d-m-Y H:i:s')?></p>
    
    <p><b>Name device: </b><?=$row['namedevice']?></p>

    <p><b>User id : </b><?=$row['user']?></p>

</div>
<div class="div_form" >
        <h1>Configurations files:</h1>
        <?if($row['config_file']!=""):?>

        <?$fromdb = unserialize(base64_decode($row['config_file']));?>
        
        <?foreach ($fromdb as $f):?>
        <p><a href="http://localhost:8080/servicedesk/configfile_upload/<?=$f?>"><?=$f?></a></p>
        <?endforeach?>
        <?endif?>

</div>